package com.mjh.zhujianju.dao.supervise;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.livew.framework.base.dao.BaseMapper;
import com.mjh.zhujianju.model.supervise.SupervisionScheduleEO;

import java.util.List;

@Repository
public interface SupervisionScheduleMapper extends BaseMapper<SupervisionScheduleEO> {
	
	Integer selectScheduleBySupervisionId(SupervisionScheduleEO eo);

	List<SupervisionScheduleEO> selectListBySupervisionId(@Param("supervisionId") Long supervisionId);

	List<SupervisionScheduleEO> selectListBySupervisionIds(List<Long> supervisionIds);

	List<SupervisionScheduleEO> selectListByUserId(@Param("userId") Long userId);

	List<SupervisionScheduleEO> selectListBySupervisionIdAndUserId(@Param("supervisionId") Long supervisionId,@Param("userId") Long userId);

	List<SupervisionScheduleEO> selectMaxListBySupervisionId(@Param("supervisionId") Long supervisionId);
}